package com.SmartCampus.system.model.dto.subjectcategory;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 班级更新请求
 *
 * @author wangliang
 */
@Data
public class SubjectUpdateRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 学科ID
     */
    @NotNull(message = "学科ID不能为空")
    @ApiModelProperty(value = "学科ID", required = true)
    private Long subjectId;

    /**
     * 学科名称
     */
    @ApiModelProperty(value = "学科名称")
    private String subjectName;
}